package com.rw.coco.handler.message.reply.handler.command.bean;

import com.rw.coco.util.config.AnotherNameConfig;
import lombok.Getter;

/**
 * 属性
 */
@Getter
public class CocoProp {
    public static final int MAX_VALUE = 2000;
    public static final int MIN_VALUE = 0;

    private final String name;
    private final int value;

    public CocoProp(String name, int value, AnotherNameConfig anotherNameConfig) {
        this.name = anotherNameConfig.getMainName(name);
        this.value = value;
    }
}
